﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Objects;
using System.Data.EntityClient;
using DataLayer.Entities;

namespace DataLayer
{
    public class SampleModel : ObjectContext
    {
        public SampleModel(EntityConnection entityConnection)
            : base(entityConnection)
        {
            DefaultContainerName = "SampleModel";
        }
        public IObjectSet<Contact> Contacts
        {

            get { return base.CreateObjectSet<Contact>(); }

        }
    }
}
